home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Micro Dingo 39
/
Micro_Dingo_39_CD2.mdx
/
Themes XP
/
themes
/
Akuatic overhul 33
/
MacOSX.wmz
/
osxmp.js
< prev
next >
Wrap
Text File
|
2000-10-13
|
491b
|
23 lines
function OnOpenStateChange()
{
if(player.OpenState == osMediaOpen)
{
UpdateMetadata();
}
}
function UpdateMetadata()
{
metadata.value =
player.currentmedia.getiteminfo("author");
var temp = player.currentmedia.name;
if(temp != "")
{
if(metadata.value != "")
{
metadata.value += " -- ";
}
metadata.value += temp;
}
metadata.scrolling = metadata.textWidth>metadata.width;
}